﻿
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head><link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/home/same.css" />
    <script src="__PUBLIC__/Js/home/jquery-1.11.3.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Js/home/index.js"></script>
    <script src="__PUBLIC__/Js/home/sea.js"></script>
    <script>
        // seajs 配置
        seajs.config({
            debug: true,
            base: "",
            alias: {
                "jquery": "__PUBLIC__/Js/home/jquery-1.11.3.js"
            }
        });
        // 加载头部入口模块
        seajs.use("__PUBLIC__/Js/home/header.js");
    </script>
    <link rel="stylesheet" href="__PUBLIC__/Css/home/home.css" />
    
    
    <title>Darry Ring实体店分布_戴瑞珠宝实体店_戴瑞珠宝官网</title>
    <meta name="Keywords" content="Darry Ring实体店，戴瑞珠宝实体店" />
    <meta name="Description" content="Darry Ring在全世界开设了大量实体店，开设在有爱的地方，Darry Ring实体店方便Darry Ring客户在实体店试戴DR戒指，目前有深圳、北京、上海、重庆等，具体地址请在具体页面查看。" />
    <link rel="stylesheet" href="__PUBLIC__/Css/home/index.css" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/home/dr.css" /><link rel="stylesheet" type="text/css" href="ncss/same.css" /><link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/home/dr_tyd.css?v=1.3.5" />
    <link rel="stylesheet" href="__PUBLIC__/Css/home/newshop.css" />
    <script type="text/javascript" src="__PUBLIC__/Js/home/jquery-1.11.3.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Js/home/WdatePicker.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Js/home/newshop.js"></script>
    <meta name="mobile-agent" content="format=html5; url=http://m.darryring.com/shop.aspx" />
    <style>
        .cort {
            background: #fff;
        }
    </style>
    <script type="text/javascript">
        //平台、设备和操作系统
        var system = {
            win: false,
            mac: false,
            X11: false
        };
        //检测平台
        var p = navigator.platform;
        system.win = p.indexOf("Win") == 0;
        system.mac = p.indexOf("Mac") == 0;

        system.X11 = (p == "X11") || (p.indexOf("Linux") == 0);

        var regexiPad = new RegExp(/iPad/);
        if (navigator.userAgent.match(/.*Mobile.*/) && !regexiPad.exec(navigator.userAgent)) {
            // 来自手机
            window.location.href = "http://m.darryring.com/shop.aspx";
        }

    </script>


    <script type="text/javascript" language="javascript">
        var pagefirst = true;
        $(function () {
            //省下拉框ID
            var province = "#ctl00_content_ddlProvince";
            var city = "#ctl00_content_ddlcity";
            //省下拉框onchange事件
            $(province).change(function () {
                $("#ctl00_content_ddlcity option").remove();

                $.get("nAPI/AddressInfo.ashx?action=proCity&code=" + $(this).val(), function (msg) {

                    for (var i = 0; i < msg.length; i++) {

                        $(city).append($("<option value=\"" + msg[i].id + "\">" + msg[i].shopname + "</option>"));
                    }
                });
            });

            var proshop = $("#ctl00_content_ddlPro");//预约
            var shopcity = $("#ctl00_content_ddlcity2");
            $(proshop).change(function () {
                $("#ctl00_content_ddlcity2 option").remove();
                $.get("nAPI/AddressInfo.ashx?action=proShop&code=" + $(this).val(), function (msg) {
                    $.get("nAPI/yuyue.ashx?action=isOpenShop", { shopid: msg[0].id }, function (data) {//店铺是否开
                        if (data == "1") {
                            isOpenShop = "1";
                            $("#p_yuyue").show();
                            $("#p_open").hide();
                            $("#p_yuy").show();
                        }
                        else {
                            isOpenShop = "0";
                            $("#p_yuyue").hide();
                            $("#p_open").show();
                            $("#p_yuy").hide();
                        }
                    });

                    for (var i = 0; i < msg.length; i++) {
                        $(shopcity).append($("<option value=\"" + msg[i].id + "\">" + msg[i].shopname + "</option>"));
                    }
                });
            });

            $(province).change();

            $(shopcity).change(function () {
                $.get("nAPI/yuyue.ashx?action=isOpenShop", { shopid: $(this).val() }, function (data) {//店铺是否开
                    if (data == "1") {
                        isOpenShop = "1";
                        $("#p_yuyue").show();
                        $("#p_open").hide();
                        $("#p_yuy").show();
                    }
                    else {
                        isOpenShop = "0";
                        $("#p_yuyue").hide();
                        $("#p_open").show();
                        $("#p_yuy").hide();
                    }
                });
            });
        });

        function bindDdlData(cid, data) {
            $(cid).append($("<option value=\"" + data.code + "\">" + data.name + "</option>"));
        }

        var shopCurrentNum = 1;
        function shopLoadData(currentPageNum) {
            var pro = $("#ctl00_content_ddlProvince").val();
            var city = $("#ctl00_content_ddlcity").val();
           
            $.get("nAPI/shopList.aspx?lan=0&action=seach&pagenum=" + currentPageNum + "&pro=" + pro + "&city=" + city, function (data) {
                $("#div_shoplist").empty();
                $("#div_shoplist").html(data);
                shopCurrentNum = currentPageNum;
                __CurrentPagingShop.ReCreate(ZSSearchPageCount, currentPageNum);
                //shopLoadEvent(ZSSearchPageCount);
            });
        }

        $(function () {
            shopLoadData(1);
            __CurrentPagingShop.CustomChanged = function (num) {
                
                shopLoadData(num);
            };
            setTimeout(function () {
                shopLoadData(shopCurrentNum);
            }, 300);
        });

        function CommentToNext() {
            if (ZSSearchPageCount >= (shopCurrentNum + 1)) {
                __CurrentPagingShop.Next();
            }
        }

        function toSearch() {
            shopLoadData(1);
        }
    </script>
<title>

</title></head>
<body>
    <form name="aspnetForm" method="post" action="shopyd" id="aspnetForm">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="wEPDwUJNjQxNDE0MjM3D2QWAmYPZBYCAgMQZGQWBAIDD2QWBmYPEA8WBh4NRGF0YVRleHRGaWVsZAUEbmFtZR4ORGF0YVZhbHVlRmllbGQFBGNvZGUeC18hRGF0YUJvdW5kZ2QQFRkG5YWo5Zu9Bummmea4rwnlronlvr3nnIEJ5YyX5Lqs5biCCeemj+W7uuecgQnlub/kuJznnIEV5bm/6KW/5aOu5peP6Ieq5rK75Yy6Cea1t+WNl+ecgQnmsrPljJfnnIEJ5rKz5Y2X55yBDOm7kem+meaxn+ecgQnmuZbljJfnnIEJ5rmW5Y2X55yBCeWQieael+ecgQnmsZ/oi4/nnIEJ6L695a6B55yBCeWxseS4nOecgQ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="__VIEWSTATEGENERATOR" value="BB45B36D" />
</div>
        <div>
            
<script>
    function logout() {
        if (window.confirm('确定退出吗？')) {

            $.get("nAPI/QuitExit.ashx", function (data) {
                window.location.href = "";
            });
            }
        }
</script>
<!--头部-->
            <include file="Common/header"/>
            <!--头部-->


            
                
    <!--店铺主题-->
    <!--白色底面包屑-->
    <div class="dr-bread w1000">
        <div class="drring_all-bread">
            <span><a href="">Darry Ring</a></span>
            <span>></span>
            <span></span>
            <span>Darry Ring实体店分布</span>
        </div>
    </div>
    <!--白色底面包屑end-->
    <div class="shopMain fix">
        <!--banner 焦点图-->
        <div class="shopBanner">
            <ul class="shopBanPics fix" id="banner">
                <li><a href="hkstore"><img src="http://img.darryring.com/userfiles/image/shop/201511141709120e71fba419.jpg" alt="" /></a></li><li><a href="shstore"><img src="http://img.darryring.com/userfiles/image/shop/201507151623337a98e520e6.jpg" alt="" /></a></li><li><a href="dlhlgcstore"><img src="http://img.darryring.com/userfiles/image/shop/201605261359242458f8cd6e.jpg" alt="" /></a></li><li><a href="hkdfgcstore"><img src="http://img.darryring.com/userfiles/image/shop/20160614104044d839c26214.jpg" alt="" /></a></li>
            </ul>
            <div class="shopBanNav" id="shopBanMenu">
                <div class="shopBanNavBg"></div>
                <a href="hkstore">香港店</a><a href="shstore">上海红坊店</a><a href="dlhlgcstore">大连恒隆广场店</a><a class="last" href="hkdfgcstore">海口东方广场店</a>
            </div>
        </div>
        <!--banner end-->
        <!--server 服务说明-->
        <div class="shopServer fix">
            <div class="shopServerDic shopzjsd">
                <h3>钻戒试戴</h3>
                <p>专人介绍，实体店试戴</p>
            </div>
            <div class="shopServerDic shopgzzd">
                <h3>购钻指导</h3>
                <p>专家指导，量身定制您心仪的钻戒。</p>
            </div>
            <div class="shopServerDic shopzjby">
                <h3>钻戒保养</h3>
                <p>提供钻戒清洗等保养服务</p>
            </div>
            <div class="shopServerDic shopzjsj">
                <h3>钻戒升级</h3>
                <p>为您的钻戒提供更换款式、 以小换大等升级服务咨询。</p>
            </div>
        </div>
        <!--server end-->
        <!--search 搜索模块-->
        <div class="shopSearch" style="">
            <span>
                <label for="shop-countries">国家/地区：</label>
                <select name="" id="shop-countries">
                    <option value="">中国大陆</option>
                </select>

            </span>
            <span>
                <label for="shop-provinces">所在省份：</label>
                <select name="ctl00$content$ddlProvince" id="ctl00_content_ddlProvince">
	<option value="-1">全国</option>
	<option value="820000">香港</option>
	<option value="340000">安徽省</option>
	<option value="110000">北京市</option>
	<option value="350000">福建省</option>
	<option value="440000">广东省</option>
	<option value="450000">广西壮族自治区</option>
	<option value="460000">海南省</option>
	<option value="130000">河北省</option>
	<option value="410000">河南省</option>
	<option value="230000">黑龙江省</option>
	<option value="420000">湖北省</option>
	<option value="430000">湖南省</option>
	<option value="220000">吉林省</option>
	<option value="320000">江苏省</option>
	<option value="210000">辽宁省</option>
	<option value="370000">山东省</option>
	<option value="140000">山西省</option>
	<option value="610000">陕西省</option>
	<option value="310000">上海市</option>
	<option value="510000">四川省</option>
	<option value="120000">天津市</option>
	<option value="530000">云南省</option>
	<option value="330000">浙江省</option>
	<option value="500000">重庆市</option>

</select></span>
            <span>
                <label for="shop-city">所在城市：</label>
                <select name="ctl00$content$ddlcity" id="ctl00_content_ddlcity">

</select></span>
            <a class="searchBtn inlineBlock" href="javascript:toSearch()">搜索</a>
        </div>
        <!--search end-->
        <!--shopList 店铺列表-->
        <div class="shopListMain" id="div_shoplist">
        </div>
        <!--shopList end-->
        <!--pager 分页页码-->
        
<script src="__PUBLIC__/Js/home/paging.js" type="text/javascript"></script>
<script type="text/javascript">
        var __CurrentPagingShop = new Paging("ctl00_content_zsPaging_pagingDiv");
    $(document.body).ready(function () {
        __CurrentPagingShop.Create(0, 1);
    });
</script>
  <!--分页-->
        <div id="ctl00_content_zsPaging_pagingDiv" class="paging_all">
            <div class="paging_all-cort">
            <ul class="paging fl">

            </ul>
            <p class="pag_p fl">
                <span></span>
                <input name="ctl00$content$zsPaging$pag_txt" type="text" id="ctl00_content_zsPaging_pag_txt" class="pag_txt" />页
                <input type="button" value="确定" onclick="__CurrentPagingShop.PageIndexChaned($('#ctl00_content_zsPaging_pag_txt').val());$('#ctl00_content_zsPaging_pag_txt').val('');" class="pag_bt">
            </p>
            </div>
        </div>
        <!--分页end-->

        <!--pager end-->
    </div>
    <!--店铺主体 end-->
    <!--shopMap 店铺地图-->
    <div class="shopMapMain" id="shopMapMain">
        <div class="shopMapBg" id="shopMapBg"></div>
        <div class="shopMap" id="shopMap">
            <div class="shopMapInfo">
                <h5 id="h_shopname">Darry Ring北京店</h5>
                <p id="p_address">地址：北京市东二环朝阳门桥银河SOHO中心负一层B-2109（朝阳门地铁站G出口）</p>
                <a href="javascript:;" class="closeMap" id="closeMapBtn"></a>
            </div>
            <iframe frameborder="0" id="shopIframe" width="960" height="500" marginheight="0" marginwidth="0" scrolling="no" src="dt/szdt.htm"></iframe>
        </div>
    </div>
    <!--shopMap end-->

    <!--预约成功提示框-->
    <div class="shopTips" id="shopTips">
        <div class="shopTipsBg"></div>
        <div class="shopTipsMain">
            <a href="javascript:;" class="closeTips" id="closeTipsBtn"></a>
            <h6>恭喜您！您已经预约成功。</h6>
            <!--开业前显示内容-->
            <p id="p_open" class="openIng">我们将以短信/邮件通知您,<br />
                请注意查收，谢谢！</p>
            <!--开业后显示内容-->
            <p id="p_yuy" class="open" style="display: none">我们将以短信/邮件通知您，请注意查收，谢谢！</p>
            <span>弹窗将在 <i id="countdown">3</i> 秒后自动关闭</span>
        </div>
    </div>
    <!--预约成功提示框 en

<!--attention 商品推荐-->
    <div class="attention">
        <h6>大家都在关注</h6>
        <ul class="attentionList fix">
            
                     <li><a href="darry_ring/78.html">
                            <img src="http://img.darryring.com/userfiles/image/Product/201409031259093e45b5ecf0.jpg" width="222" height="222" alt="FOREVER 系列 经典款" />
                            <p>FOREVER 系列 经典款 50分 J色<span><i>￥23999</i>销量：26792</span></p>
                        </a>
                        </li>
                
                     <li><a href="darry_ring/175.html">
                            <img src="http://img.darryring.com/userfiles/image/product/2015093019140361614ead1d.jpg" width="222" height="222" alt="TRUE LOVE系列 典雅" />
                            <p>TRUE LOVE系列 典雅 20分 H色<span><i>￥9298</i>销量：12341</span></p>
                        </a>
                        </li>
                
                     <li><a href="darry_ring/340.html">
                            <img src="http://img.darryring.com/userfiles/image/Product/201409011647356e34c55a0c.jpg" width="222" height="222" alt="I SWEAR系列 简奢款" />
                            <p>I SWEAR系列 简奢款 100分 G色<span><i>￥120499</i>销量：12395</span></p>
                        </a>
                        </li>
                
                     <li><a href="darry_ring/378.html">
                            <img src="http://img.darryring.com/userfiles/image/product/201509301423462d2e8ea34f.jpg" width="222" height="222" alt="FOREVER 系列 简奢款" />
                            <p>FOREVER 系列 简奢款 50分 G色<span><i>￥27999</i>销量：17985</span></p>
                        </a>
                        </li>
                
        </ul>
    </div>
    <!--attention end-->

    <!--subscribe 免费预约-->
    <div class="subscribe" id="subscribeMain" style="">
        <div class="subscribeBtn">
            <div class="subscribeBtnBg"></div>
            <div class="subscribeBtnMain">
                <!--<a href="javascript:;" class="subscribeLink inlineBlock" id="showActionBtn" >免费预约</a>-->
            </div>
        </div>
        <div class="subscribeMain" id="actionMain">
            <div class="subscribeMainBg"></div>
            <div class="subscribeAction">
                <p>
                    <i>*</i><label>选 择 店 铺：</label>
                    <select name="">
                        <option value="">中国大陆</option>
                    </select>

                    <select name="ctl00$content$ddlPro" id="ctl00_content_ddlPro">
	<option value="-1">请选择</option>
	<option value="820000">香港</option>
	<option value="340000">安徽省</option>
	<option value="110000">北京市</option>
	<option value="350000">福建省</option>
	<option value="440000">广东省</option>
	<option value="450000">广西壮族自治区</option>
	<option value="460000">海南省</option>
	<option value="130000">河北省</option>
	<option value="410000">河南省</option>
	<option value="230000">黑龙江省</option>
	<option value="420000">湖北省</option>
	<option value="430000">湖南省</option>
	<option value="220000">吉林省</option>
	<option value="320000">江苏省</option>
	<option value="210000">辽宁省</option>
	<option value="370000">山东省</option>
	<option value="140000">山西省</option>
	<option value="610000">陕西省</option>
	<option value="310000">上海市</option>
	<option value="510000">四川省</option>
	<option value="120000">天津市</option>
	<option value="530000">云南省</option>
	<option value="330000">浙江省</option>
	<option value="500000">重庆市</option>

</select>

                    <select name="ctl00$content$ddlcity2" id="ctl00_content_ddlcity2">

</select>
                </p>
                <p>
                    <i>*</i><label>预约人姓名：</label>
                    <input type="text" id="txtname" placeholder="如：戴瑞女士" />
                </p>
                <p id="p_yuyue">
                    <i>*</i><label>预 约 时 间：</label>
                    <input name="ctl00$content$txtdate" type="text" value="2016-6-20" id="ctl00_content_txtdate" onFocus="WdatePicker({})" placeholder="请选择预约时间" style="height:24px;width:130px;line-height: 24px" />
                    <select name="ctl00$content$drptime" id="ctl00_content_drptime" style="width:130px;">
	<option value="0">请选择时段</option>
	<option value="1">09:00--12:00</option>
	<option value="2">12:00--15:00</option>
	<option value="3">15:00--18:00</option>
	<option value="4">18:00--22:00</option>

</select>
                </p>
                <p>
                    <i>*</i><label>联 系 方 式：</label>
                    <input type="text" id="txttel" placeholder="请输入手机号或邮箱" />
                    <span id="sp_error" style="display: none; color: red;">请输入正确的手机号/邮箱地址</span>
                </p>
                <div class="checkServer">
                    <i>您所关注的：</i>
                    <span>
                        <input type="checkbox" id="checksd" checked="checked" /><label for="checksd">钻戒试戴</label></span>
                    <span>
                        <input type="checkbox" id="checkzd" /><label for="checkzd">购买指导</label></span>
                    <span>
                        <input type="checkbox" id="checkby" /><label for="checkby">钻戒保养</label></span>
                    <span>
                        <input type="checkbox" id="checksj" /><label for="checksj">钻戒升级</label></span>
                    <span>
                        <input type="checkbox" id="checkqt" /><label for="checkqt">其它</label></span>
                    <input class="inputServer" type="text" maxlength="100" id="other" />
                </div>
                <div class="actionBtn">
                    <a href="javascript:yuyue();" class="actionBtnConfirm inlineBlock">确认预约</a>
                    <a href="javascript:;" class="actionBtnCancel inlineBlock" id="cancelActionBtn">取  消</a>
                </div>
            </div>
        </div>
    </div>
    <a class="minSubscribe" id="minSubscribe">免费预约</a>
    <script type="text/javascript" language="javascript">
        var isOpenShop = "1";
        function showMap(shopid) {
            $('#shopMapMain').fadeIn();
            $.get("nAPI/yuyue.ashx?action=getShopInfo", { shopid: shopid }, function (msg) {
                var json = $.parseJSON(msg);
                $("#h_shopname").html("Darry Ring" + json.shopname);
                $("#p_address").html("地址：" + json.address);
                //$(window.parent.document).find("#shopIframe").attr("src", json.map_link + "?shopid=" + json.shopid);
                $(window.parent.document).find("#shopIframe").attr("src", "dt/shopdt.htm?shopid=" + json.id);
            });
        }

        function yuyue() {
            var shopvalue = $("#ctl00_content_ddlcity2").val();
            var timevalue = $("#ctl00_content_drptime").val();
            var name = $("#txtname").val();
            var times = $("#ctl00_content_txtdate").val();
            var tel = $("#txttel").val();
            var strgz = "";

            if ($("#checksd").attr("checked") == "checked") {
                strgz += "钻戒试戴,";
            }
            if ($("#checkzd").attr("checked") == "checked") {
                strgz += "购买指导,";
            }
            if ($("#checkby").attr("checked") == "checked") {
                strgz += "钻戒保养,";
            }
            if ($("#checksj").attr("checked") == "checked") {
                strgz += "钻戒升级,";
            }

            if ($("#checkqt").attr("checked") == "checked") {
                var other = $("#other").val();
                strgz += "其它," + other;
            }
            else {
                strgz = strgz.substr(0, strgz.length - 1);
            }

            if (shopvalue == -1 || shopvalue == null) {
                alert("请选择预约店门！");
                return;
            }

            if (isOpenShop == "1") {
                if ($("#ctl00_content_txtdate").val() == "") {
                    alert("请选择预约时间！");
                    return;
                }
                if (timevalue == 0) {
                    alert("请选择预约时间段！");
                    return;
                }
            }

            if (name.trim() == "") {
                alert("请输入您的姓名！");
                return;
            }

            if (!checkTel(tel) && !isEmail(tel)) {
                $("#sp_error").show();
                $("#txttel").val("");
                return;
            } else {
                $("#sp_error").hide();
            }
            //店铺预约统计
            ag_dianpuyuyue();
            $.get("nAPI/yuyue.ashx?action=newyuyue", { shopvalue: shopvalue, timevalue: timevalue, times: times, name: name, tel: tel, strgz: strgz }, function (data) {
                if (data == "ok") {
                    thisTime = 3;
                    showTips();
                    //清空
                    $("#txtname").val("");
                    $("#ctl00_content_ddlPro").val("-1");
                    $("#ctl00_content_drptime").val("0");
                    $("#txttel").val("");
                    $("[name = chkItem]:checkbox").attr("checked", false);
                    $("#ctl00_content_ddlcity2 option").remove();
                    $("#checksd").attr("checked", true);
                    $("#other").val("");
                }
                else {
                    alert(data);
                }
            });
        }

        function isEmail(strEmail) {
            if (strEmail.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) != -1)
                return true;
            else {
                return false;
            }
        }

        function trim(str) {
            return str.replace(/(^\s*)|(\s*$)/g, "");
        }

        function checkTel(tel) {
            var mobile = /^1[3-8]+\d{9}$/;
            return mobile.test(tel);
        }



    </script>
    <!--subscribe end-->
            <include file="Common/footer"/>
            
            


</body>
</html>

